<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./js/vue.js"></script>
<script src="./24.plugin.js"></script>
<body>
    <div class="box">
        <h1 v-upper="msg"></h1>
    </div>
    <script>
        console.log(window);
        // 声明使用插件  因为在插件内部调用了对象的install
        Vue.use(MyPlugin);
        console.dir(Vue);

        const vm = new Vue({
            el:'.box',
            data:{
                msg:'frehtyhgd'
            }
        })

        /* var aa = 123;
        console.log(aa);
        console.log(window); */
    </script>
</body>
</html>